-- GENERATED SPELL FOR [Dampscale Basilisk] --


function spell0_18461(pUnit, Event) --@Glare,n/a--
pUnit:FullCastSpellOnTarget(32905,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18461', 8000, 1)
end

function Sorts_18461(pUnit, Event)
local choix_sorts_18461 = math.random(0, 0)
if choix_sorts_18461 == 0 then
pUnit:RegisterEvent('spell0_18461', 1, 1)
end
end

function mob18461_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18461', math.random(1500, 3000), 1)
end

function mob18461_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18461_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18461_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18461, 1, 'mob18461_Action')
RegisterUnitEvent(18461, 2, 'mob18461_Leave')
RegisterUnitEvent(18461, 3, 'mob18461_Kill')
RegisterUnitEvent(18461, 4, 'mob18461_Die')
